package nayasis.common.util;

import java.io.IOException;

import nayasis.common.model.NData;

import org.junit.Test;

public class ReflectionUtilTest {

    @Test
    public void deepClone() throws ClassNotFoundException, IOException {
        
        NData data = new NData();
        
        data.put( "aaa", "aaa" );
        data.put( "bbb", "bbb" );
        data.put( "ccc", "ccc" );
        
        
        NData data2 = ReflectionUtil.deepClone( data );
        
        data2.remove( "aaa" );
        
        System.out.println( data );
        System.out.println( data2 );
    }
    
    
}
